// 用户相关
import request from '../utils/request.js'

// 修改用户信息
const edituserInfo = data =>{
  return request({
    url: '/api/auth/user/edit',
    method: 'POST',
    data
  })
}

// 用户信息
const getUserInfo = (showOnload = true) => {
  return request({
    url: '/api/auth/user/info',
    method: 'POST',
    showOnload
  })
}

// 根据证件号查询报名详情
const getSignUpDetail = (showOnload = true) => {
  return request({
    url: '/api/auth/user/info',
    method: 'POST',
    showOnload
  })
}
module.exports = {
  edituserInfo,
  getUserInfo,
  getSignUpDetail
}